/**
 * 文件：loginbean.java
 * 包名：com.ronri.ams.bean;
 * 说明：登录返回数据
 * 访问地址：
 *    server_path = 190.168.0.77:8080/ams
 *    server _path + /api/login.json
 * 作者：MS During
 * 日期：2017/5/18
 * 历史：
 */
package com.ronri.ams.bean;


public class loginbean {

    /**
     * code : 0
     * data : {"user_id":11,"region_code":"3204","account":"test_zj","name":"质检","email":"","phone":"","deptid":1,"detectorid":174,"issample":1,"isadmin":2,"detector_name":"常州市农畜水产品质量监督检验测试中心","dept_name":"江苏省农委农产品质量安全监管局"}
     * message : success
     * success : true
     */

    private int code;
    private DataBean data;
    private String message;
    private boolean success;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public static class DataBean {
        /**
         * user_id : 11
         * region_code : 3204
         * account : test_zj
         * name : 质检
         * email :
         * phone :
         * deptid : 1
         * detectorid : 174
         * issample : 1
         * isadmin : 2
         * detector_name : 常州市农畜水产品质量监督检验测试中心
         * dept_name : 江苏省农委农产品质量安全监管局
         */

        private int user_id;
        private String region_code;
        private String account;
        private String name;
        private String email;
        private String phone;
        private int deptid;
        private int detectorid;
        private int issample;
        private int isadmin;
        private String detector_name;
        private String dept_name;

        public int getUser_id() {
            return user_id;
        }

        public void setUser_id(int user_id) {
            this.user_id = user_id;
        }

        public String getRegion_code() {
            return region_code;
        }

        public void setRegion_code(String region_code) {
            this.region_code = region_code;
        }

        public String getAccount() {
            return account;
        }

        public void setAccount(String account) {
            this.account = account;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getEmail() {
            return email;
        }

        public void setEmail(String email) {
            this.email = email;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public int getDeptid() {
            return deptid;
        }

        public void setDeptid(int deptid) {
            this.deptid = deptid;
        }

        public int getDetectorid() {
            return detectorid;
        }

        public void setDetectorid(int detectorid) {
            this.detectorid = detectorid;
        }

        public int getIssample() {
            return issample;
        }

        public void setIssample(int issample) {
            this.issample = issample;
        }

        public int getIsadmin() {
            return isadmin;
        }

        public void setIsadmin(int isadmin) {
            this.isadmin = isadmin;
        }

        public String getDetector_name() {
            return detector_name;
        }

        public void setDetector_name(String detector_name) {
            this.detector_name = detector_name;
        }

        public String getDept_name() {
            return dept_name;
        }

        public void setDept_name(String dept_name) {
            this.dept_name = dept_name;
        }
    }
}
